package com.leadnews.service;

import com.leadnews.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.leadnews.vo.PageResultVo;
import com.leadnews.vo.PageVo;
import com.leadnews.vo.RegisterVo;
import com.leadnews.vo.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author 自己
 * @description 针对表【user】的数据库操作Service
 * @createDate 2023-01-01 07:24:04
 */
public interface UserService extends IService<User> {

    ResponseResult login(User user);

    PageResultVo getUserList(PageVo pageVo);

    ResponseResult adduser(User user);

    ResponseResult deleteAll(List<String> list, HttpServletRequest httpServletRequest);

    ResponseResult register(RegisterVo registerVo);

    ResponseResult loginMail(String mail);

    ResponseResult searchchart(String username);
}